﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace RohonTool.Monitor
{
    public class InputMonitor
    {
        public static bool isStop = false;
        public void Run()
        {
            while (true)
            {
                string input = Console.ReadLine();
                if (input.Equals("quit"))
                {
                    RohonOutPut.OutPut.Report.couldOutput = true;
                    isStop = true;
                    Thread.CurrentThread.Abort();
                }
                else if (input.Equals(""))
                {
                    RohonOutPut.OutPut.Report.couldOutput = false;
                }
            }
        }
    }
}
